<%--
  Created by IntelliJ IDEA.
  User: zsc
  Date: 2022/1/13
  Time: 21:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户管理页面</title>
    <style>
        table,tr,th,td{
            border: 1px black solid;
        }
    </style>
</head>
<body>
<div align="center">
    <table border="0" width="800" id="table1" bgcolor="#CCFFCC">
        <tr>
            <td align="center">用户编号</td>
            <td align="center">用户名称</td>
            <td align="center">用户年龄</td>
            <td align="center">操作</td>
        </tr>

        <C:forEach items="${list}" var="list">
            <tr>
                <td bgcolor="#FFE3BB" align="center" height="20">${list.id}</td>
                <td bgcolor="#FFE3BB" align="center" height="20">${list.name}</td>
                <td bgcolor="#FFE3BB" align="center" height="20">${list.age}岁</td>
                <td bgcolor="#FFE3BB" align="center" height="20"><a href="http://localhost:8080/deluser.do?id=${list.id}">删除</a></td>
            </tr>
        </C:forEach>
    </table>
</div>

</body>
</html>
